﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="AssetHelp.ascx.vb" Inherits="WebForm_AssetMaintain_Component_AssetHelp" %>
<asp:Panel ID="panel1" runat="server" BackColor="#E7FEC2" BorderWidth="1"  Width ="450px"
    Height="450px" ScrollBars="Auto">
    <table border="1">
        <tr>
            <td colspan="8" align="center">
                <asp:Label ID="lblTitle" runat="server" Font-Bold="True" Font-Size="20px"  meta:resourcekey="lblTitle"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="8" align="center">
                <asp:FileUpload ID="FileUpload1" runat="server" />
                <asp:Button ID="btnUpload" runat="server" meta:resourcekey="btnUpload"  />
                <asp:Button ID="btnCancel" runat="server" meta:resourcekey="btnClose" />
            </td>
        </tr>
        <tr>
            <td colspan="8" align="center">
                <TServerControl:TGridView ID="GridView_UpFiles"  runat="server" AllowHoverEffect="False" AllowHoverSelect="False"
                                AllowPaging="False" AutoGenerateColumns="False"  ShowFooterWhenEmpty="False"
                                ShowHeaderWhenEmpty="False" SkinID="pager" TotalRowCount="0" Width="100%" PageSize="5">
                    <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
                    <Columns>
                        <asp:BoundField DataField="FileName"  meta:resourcekey="colFileOpen"  />
                        <asp:TemplateField meta:resourcekey="colFileName">
                            <ItemTemplate>
                             <asp:HyperLink ID="hlinkFileDownload" runat="server" ForeColor="Blue" meta:resourcekey="FileOpen" Target="_blank" NavigateUrl='<%# Eval("FilePath") %>'></asp:HyperLink> 
                            
</ItemTemplate>
                            <ItemStyle Width="50px" HorizontalAlign="Center" />
                        </asp:TemplateField>
                        <asp:TemplateField meta:resourcekey="colFileDel">
                            <ItemTemplate >
                                <asp:LinkButton ID="lbtnFileDelete" runat="server" meta:resourcekey="btnDel"  OnClick="lbtnFileDelete_Click" CommandName="Delete"></asp:LinkButton>
                            
</ItemTemplate>
                            <ItemStyle Width="50px" HorizontalAlign="Center" />
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                    <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
                    <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                    <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
                    <AlternatingRowStyle BackColor="#F7F7F7" />
                </TServerControl:TGridView>
            </td>
        </tr>
    </table>
</asp:Panel>
<asp:Button ID="btnDummy" runat="server" SkinID="null" Style="display: none" />
<ajaxToolkit:ModalPopupExtender ID="mpSearch" runat="server" CancelControlID="btnCancel"  X="100" Y="70"
    PopupControlID="panel1" PopupDragHandleControlID="panel1" TargetControlID="btnDummy" />
